package com.example.memohehang.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.memohehang.common.R;
import com.example.memohehang.domain.User;



public interface UserService extends IService<User>
{
    /**
     * 登录
     * @param user
     * @return
     */
    public R login(User user);

    /**
     * 注册
     * @param user
     * @return
     */
    public R register(User user);

    /**
     * 根据id查询用户
     * @param userid
     * @return
     */
    public R selectUserById(Integer userid);
}


